package com.kay.servlet;

import com.kay.server.Request;
import com.kay.server.Response;

import java.io.IOException;

/**
 * @Description:
 * @Author: Kay
 * @CreateDate: 2021/8/3$ 11:00$
 * @UpdateUser: Kay
 * @UpdateDate: 2021/8/3$ 11:00$
 */
public interface Servlet {
    void init();

    void destroy();

    void service(Request request, Response response) throws IOException;
}
